home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / tvtoys04.zip / TOYCFG.PAS < prev    next >
Pascal/Delphi Source File  |  1993-12-07  |  6KB  |  146 lines

  1. (***************************************************************************
  2.   toyConfig include
  3.   Personal TVToys preferences
  4.   PJB November 3, 1993, Internet mail to d91-pbr@nada.kth.se
  5.   Copyright 1993, All Rights Reserved
  6.   Free source, use at your own risk.
  7.   If modified, please state so if you pass this around.
  8.  
  9.   How this works:
  10.     All defines have been moved to one file which is included by all
  11.     units. Any changes here affect all TVToys units, and you don't have
  12.     to worry about using Build, either. Make detects dependencies on
  13.     this file and recompiles the necessary units.
  14.  
  15.     If you want to undefine a conditional, insert a space between the
  16.     left brace and the dollar sign so BP thinks it is a comment.
  17.     Example:
  18.  
  19.       {$DEFINE HelpExtensions}         Defined
  20.  
  21.       {  $DEFINE HelpExtensions}       Not defined
  22.  
  23.     This means that if you define a conditional in the "Conditional
  24.     Defines" input box in the "Compiler Options" dialog or from the
  25.     command line,
  26.     the conditional will be considered defined, even if it is not
  27.     defined in this file, since there is no {$UNDEF }.
  28.  
  29.     This is considered a feature, but means you have to check if the
  30.     conditional is already defined elsewhere before you "undefine" it
  31.     here, since that may have no effect. This makes it different from
  32.     UNIX configuration files.
  33.  
  34.     If you want to use different configurations in different projects,
  35.     copy this file to each project directory.
  36.  
  37. ***************************************************************************)
  38.  
  39. (*******************************************************************
  40.   If you feel swamped with Debug info, define $D- here. Not all
  41.   units are affected by this, however.
  42. *******************************************************************)
  43. {  $D-}
  44.  
  45.  
  46. (*******************************************************************
  47.   NewMouse draws its own mouse cursor on the screen and avoids
  48.   buggy mouse driver code which makes your mouse unusable in many
  49.   video modes.
  50.   Define UseNewMouse to make TToyApp automatically use NewMouse.
  51.   Default: Not defined     Affects: toyApp, VideoTst
  52. *******************************************************************)
  53. {  $DEFINE UseNewMouse}
  54.  
  55.  
  56. (*******************************************************************
  57.   Define VesaSupport to make Video recognize Vesa support
  58.   and use Vesa calls to set and get the video mode.
  59.   Default: Defined        Affects: Video, ModeDlg
  60. *******************************************************************)
  61. {$DEFINE VesaSupport}
  62.  
  63.  
  64. (*******************************************************************
  65.   Define Video7Support to make Video recognize Video 7 video
  66.   cards and use Video 7 calls to set and get the video mode.
  67.   Default: Defined        Affects: Video
  68. *******************************************************************)
  69. {$DEFINE Video7Support}
  70.  
  71.  
  72. (*******************************************************************
  73.   Define StoreModeData to store more video mode information when
  74.   determining available video modes, so that you later can search
  75.   for video modes that matches a certain screen size. A simple
  76.   example of how to do this is FindSimilarVideoMode.
  77.   Default: Not defined     Affects: ModeDlg
  78. *******************************************************************)
  79. {  $DEFINE StoreModeData}
  80.  
  81.  
  82. (*******************************************************************
  83.   Define AutoCheckVideoType to automatically run CheckVideoType
  84.   when the Video unit is used. If you define it, you cannot
  85.   overlay the Video unit any more.
  86.   Default: Not defined      Affects: Video
  87. *******************************************************************)
  88. {  $DEFINE AutoCheckVideoType}
  89.  
  90.  
  91. (*******************************************************************
  92.   Define V7UniVesaKludge ONLY if you want to use an old version of
  93.   UniVesa (4.2 and older) on a Video 7 card.
  94.   Default: Not defined      Affects: Video
  95. *******************************************************************)
  96. {  $DEFINE V7UniVesaKludge}
  97.  
  98.  
  99. (*******************************************************************
  100.   Define DiskFonts if you want FontDlg.SelectFontDialog to
  101.   search on disk for font files. This is defined by default to
  102.   make VideoTst a more interesting demo. I do not recommend
  103.   keeping it defined, it's 3K code.
  104.   Default: Defined          Affects: FontDlg, (VideoTst)
  105. *******************************************************************)
  106. {$DEFINE DiskFonts}
  107.  
  108.  
  109. (*******************************************************************
  110.   Define ResFonts if you want FontDlg.SelectFontDialog to
  111.   search in a resource file for font files. This is defined by
  112.   default to make ResDemo a more interesting demo.
  113.   Default: Defined          Affects: FontDlg, (ResDemo)
  114. *******************************************************************)
  115. {$DEFINE ResFonts}
  116.  
  117.  
  118. (*******************************************************************
  119.   Define HelpExtensions to enable the back tracking buffer and
  120.   the cmSwitchToTopic command.
  121.   Default: Defined          Affects: HelpFile
  122. *******************************************************************)
  123. {$DEFINE HelpExtensions}
  124.  
  125.  
  126. (*******************************************************************
  127.   Define ExeHelp if you want toyApp to use the ExeStrm unit to
  128.   look in the application's EXE file for the help file.
  129.   ExeHelp currently assumes DOS 3+ compatibility.
  130.   This is not very useful during debugging, so you might want to
  131.   add a DEBUG conditional so that ExeHelp is defined only if DEBUG
  132.   is not.
  133.   Default: Not defined      Affects: toyApp
  134. *******************************************************************)
  135. {  $DEFINE ExeHelp}
  136.  
  137.  
  138. (*******************************************************************
  139.   Define Color to get a colorful Info dialog in the VideoTst
  140.   demo program. This might not work if substantial changes has
  141.   been made to Turbo Vision's internal GetColor procedure in
  142.   VIEWS.PAS. If you haven't changed the library, define it.
  143.   Default: Defined          Affects: VideoTst
  144. *******************************************************************)
  145. {$DEFINE Color}
  146.